export let api_url = process.env.VUE_APP_API
export let order_down_url = process.env.VUE_APP_DOWN_URL
export let ding_url = location.origin // 钉钉线上跳转地址 - 打包前根据后端给的地址修改
export let system_code = 'js' //钉钉相关系统码

export let apilist = {
  login: api_url + '/admin/login/login',
  loginCode: api_url + '/admin/sms_code/getSmsCode', //验证码
  adminLogin: api_url + '/admin/login/superAdminLogin', //超管登录

  /* 钉钉接口 */
  applyDD: api_url + '/admin/ding_talk/get_qr_code', //申请二维码
  bindDD: api_url + '/admin/staff/dingTalkBind', //绑定用户
  ddLogin: api_url + '/admin/ding_talk/ddLogin', //钉钉登录

  /* 收款管理相关接口 */
  settlementList: api_url + '/admin/settlement/getlist', //收款管理列表
  chargeDetail: api_url + '/admin/Settle_order/getDetails', //收款详情
  confirmChargeStatus: api_url + '/admin/Settle_order/confirmPayStatus', //计费单财务状态确认
  cancelChargeStatus: api_url + '/admin/Settle_order/cancelChargingOrder', //作废计费单
  chargingList: api_url + '/admin/Settle_order/getChargingList', //收款详情的计费单列表
}
